package com.api.syh56.shengyunhui.util;

public class ResourceUtil {

    public void getResource(String fileName){
        String path = this.getClass().getClassLoader().getResource(fileName).getPath();//注意getResource("")里面是空字符串
        System.out.println(path);
    }


}
